package com.woorigil.social.domain.app;

import org.springframework.stereotype.Repository;

import com.woorigil.social.domain.CouponSqlMapDaoSupport;

@Repository
public class MobileAppDao extends CouponSqlMapDaoSupport<MobileApp, Integer> {
	public static final String NAMESPACE = "MobileApp";

	@Override
	public String getNamespace() {
		return NAMESPACE;
	}
	
	@SuppressWarnings("deprecation")
	public MobileApp selectByName(String name) {
		return (MobileApp) getSqlMapClientTemplate().queryForObject(getStatementName(NAMESPACE, "selectByName"), name);
	}
}
